package com.eduction.service;

import java.sql.SQLException;
import java.util.List;

import com.eduction.modules.system.entity.ExpertGroupMap;

public interface ExpertGroupMapService {

	/**
	 * 查询组根据专家id
	 * @throws SQLException 
	 */
	public ExpertGroupMap queryGroupByExpertId(String expertId,String type) throws SQLException;

	/**
	 * 根据学校ID和专家ID删除专家分工
	 * @param schoolId
	 * @param pId
	 */
	void deleteBySchoolIdAndExpertId(String schoolId, String pId) throws SQLException;

	/**
	 * 根据组id查询组内学校
	 * @param groupId
	 * @return
	 * @throws SQLException
	 */
	List<ExpertGroupMap> querySchoolByGroupId(String groupId) throws SQLException;
}
